[PATCH] Fix build with Qt 6.10
authorIvan Komissarov <abbapoh@gmail.com>
Wed, 4 Feb 2026 21:42:19 +0000 (00:42 +0300)
committerPino Toscano <pino@debian.org>
Sat, 14 Feb 2026 08:44:14 +0000 (09:44 +0100)
Change-Id: Iab8a4291d12c90ba4538d9ce138fdb74886c081e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Gbp-Pq: Name upstream_Fix-build-with-Qt-6.10.patch

tests/auto/language/tst_language.cpp

index a1054012f15ac338e5772a1c38d1e4c6708f0b6a..fd4f55abefc91b1b1a7c1773f2425d30c64446db 100644 (file)
@@ -1467,7 +1467,7 @@ void TestLanguage::groupConditions()
     for (size_t i = 0; i < groupCount; ++i) {
         if (product->groups.at(i)->enabled != groupEnabled.at(i)) {
             QFAIL(qPrintable(
-                      QString("groups.at(%1)->enabled != %2").arg(i).arg(groupEnabled.at(i))));
+                QString("groups.at(%1)->enabled != %2").arg(i).arg(bool(groupEnabled.at(i)))));
         }
     }
 }